package com.xxd.dfs.namenode;

import com.xxd.dfs.common.util.PropertyUtil;

/**
 * @author: XiaoDong.Xie
 * @create: 2020-08-18 10:36
 * @description: 配置信息
 */
public class Configuration {

    static {
        PropertyUtil.loadProperties("namenode.properties");
    }

    public static Configuration instance = new Configuration();

    public static Configuration getInstance() {
        return instance;
    }

    public String get(String property) {
        return PropertyUtil.getProperty(property);
    }
}
